package cn.iocoder.yudao.framework.business.benefit.pojo.vo;

import cn.iocoder.yudao.framework.business.basic.annotation.AdminJsonView;
import cn.iocoder.yudao.framework.business.basic.annotation.AppJsonView;
import cn.iocoder.yudao.framework.business.basic.pojo.vo.BaseVO;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonView;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.Data;

@Tag(name = "权益保障 VO")
@Data
public class BenefitVO extends BaseVO {

    @Schema(description = "名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "享受会员价")
    @JsonView({AdminJsonView.class, AppJsonView.class})
    private String name;

    @Schema(description = "介绍")
    @JsonIgnore
    private String summary;

    @Schema(description = "图标地址")
    @JsonView({AdminJsonView.class, AppJsonView.class})
    private String iconUrl;

    @Schema(description = "跳转链接")
    @JsonIgnore
    private String linkUrl;

    @Schema(description = "排序", example = "1")
    @JsonView({AdminJsonView.class})
    private Integer sort;

}
